{% if not_only_options %}
    <form class="disableAjax" method="post" action="{{ form_action|raw }}">
        {{ get_hidden_fields([]) }}
        <label for="select_server" class="form-label">{{ t('Current server:') }}</label>
        <select id="select_server" class="form-select autosubmit" name="server">
            <option value="">({{ t('Servers') }}) ...</option>
            {% for server in servers.select %}
              <option value="{{ server.value }}"{{ server.selected ? ' selected' }}>{{ server.label }}</option>
            {% endfor %}
        </select>
    </form>
{% elseif servers.list is not empty %}
    {{ t('Current server:') }}<br>
    <ul id="list_server">
        <li>
            {% for server in servers.list %}
                {% if server.selected %}
                    <strong>{{ server.label }}</strong>
                {% else %}
                    <a class="disableAjax item" href="{{ server.href }}">
                        {{- server.label -}}
                    </a>
                {% endif %}
            {% endfor %}
        </li>
    </ul>
{% else %}
  {% for server in servers.select %}
    <option value="{{ server.value }}"{{ server.selected ? ' selected' }}>{{ server.label }}</option>
  {% endfor %}
{% endif %}
